﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Kooboo.Commerce.Payments.PayPal
{

    public class PluginMapper : IPluginMapper
    {
        #region IPluginMapper Members

        public IEnumerable<KeyValuePair<Type, Func<object>>> Maps
        {
            get
            {

                return new List<KeyValuePair<Type, Func<object>>>
                 {
                     new KeyValuePair<Type,Func<object>>(typeof(IPaymentMethod),()=> new PaymentMethod()),
                     new KeyValuePair<Type,Func<object>>(typeof(Context),()=> new Context())
                 };
            }
        }
        #endregion
    }

}